Optimal. Leaf size=125 \[ -\frac {1}{2 a^2 x^2}+\frac {2 b \left (c x^n\right )^{\frac {1}{n}}}{a^3 x^2}+\frac {b^2 \left (c x^n\right )^{2/n}}{a^3 x^2 \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}+\frac {3 b^2 \left (c x^n\right )^{2/n} \log (x)}{a^4 x^2}-\frac {3 b^2 \left (c x^n\right )^{2/n} \log \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}{a^4 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 125, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {375, 46}
\begin {gather*} \frac {3 b^2 \log (x) \left (c x^n\right )^{2/n}}{a^4 x^2}-\frac {3 b^2 \left (c x^n\right )^{2/n} \log \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}{a^4 x^2}+\frac {b^2 \left (c x^n\right )^{2/n}}{a^3 x^2 \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}+\frac {2 b \left (c x^n\right )^{\frac {1}{n}}}{a^3 x^2}-\frac {1}{2 a^2 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 375
Rubi steps
\begin {align*} \int \frac {1}{x^3 \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )^2} \, dx &=\frac {\left (c x^n\right )^{2/n} \text {Subst}\left (\int \frac {1}{x^3 (a+b x)^2} \, dx,x,\left (c x^n\right )^{\frac {1}{n}}\right )}{x^2}\\ &=\frac {\left (c x^n\right )^{2/n} \text {Subst}\left (\int \left (\frac {1}{a^2 x^3}-\frac {2 b}{a^3 x^2}+\frac {3 b^2}{a^4 x}-\frac {b^3}{a^3 (a+b x)^2}-\frac {3 b^3}{a^4 (a+b x)}\right ) \, dx,x,\left (c x^n\right )^{\frac {1}{n}}\right )}{x^2}\\ &=-\frac {1}{2 a^2 x^2}+\frac {2 b \left (c x^n\right )^{\frac {1}{n}}}{a^3 x^2}+\frac {b^2 \left (c x^n\right )^{2/n}}{a^3 x^2 \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}+\frac {3 b^2 \left (c x^n\right )^{2/n} \log (x)}{a^4 x^2}-\frac {3 b^2 \left (c x^n\right )^{2/n} \log \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )}{a^4 x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.33, size = 99, normalized size = 0.79 \begin {gather*} \frac {\left (c x^n\right )^{2/n} \left (a \left (-a \left (c x^n\right )^{-2/n}+4 b \left (c x^n\right )^{-1/n}+\frac {2 b^2}{a+b \left (c x^n\right )^{\frac {1}{n}}}\right )+6 b^2 \log (x)-6 b^2 \log \left (a+b \left (c x^n\right )^{\frac {1}{n}}\right )\right )}{2 a^4 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.45, size = 379, normalized size = 3.03
method | result | size |
risch | \(\frac {1}{a \,x^{2} \left (b \,c^{\frac {1}{n}} \left (x^{n}\right )^{\frac {1}{n}} {\mathrm e}^{\frac {i \pi \,\mathrm {csgn}\left (i c \,x^{n}\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i c \right )\right ) \left (\mathrm {csgn}\left (i c \,x^{n}\right )-\mathrm {csgn}\left (i x^{n}\right )\right )}{2 n}}+a \right )}+\frac {3 c^{\frac {2}{n}} \left (x^{n}\right )^{\frac {2}{n}} {\mathrm e}^{\frac {i \pi \,\mathrm {csgn}\left (i c \,x^{n}\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i c \right )\right ) \left (\mathrm {csgn}\left (i c \,x^{n}\right )-\mathrm {csgn}\left (i x^{n}\right )\right )}{n}} b^{2} \ln \left (x \right )}{a^{4} x^{2}}+\frac {3 b \,c^{\frac {1}{n}} \left (x^{n}\right )^{\frac {1}{n}} {\mathrm e}^{\frac {i \pi \,\mathrm {csgn}\left (i c \,x^{n}\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i c \right )\right ) \left (\mathrm {csgn}\left (i c \,x^{n}\right )-\mathrm {csgn}\left (i x^{n}\right )\right )}{2 n}}}{a^{3} x^{2}}-\frac {3}{2 a^{2} x^{2}}-\frac {3 \left (x^{n}\right )^{\frac {2}{n}} c^{\frac {2}{n}} {\mathrm e}^{\frac {i \pi \,\mathrm {csgn}\left (i c \,x^{n}\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i c \right )\right ) \left (\mathrm {csgn}\left (i c \,x^{n}\right )-\mathrm {csgn}\left (i x^{n}\right )\right )}{n}} b^{2} \ln \left (b \,c^{\frac {1}{n}} \left (x^{n}\right )^{\frac {1}{n}} {\mathrm e}^{\frac {i \pi \,\mathrm {csgn}\left (i c \,x^{n}\right ) \left (-\mathrm {csgn}\left (i c \,x^{n}\right )+\mathrm {csgn}\left (i c \right )\right ) \left (\mathrm {csgn}\left (i c \,x^{n}\right )-\mathrm {csgn}\left (i x^{n}\right )\right )}{2 n}}+a \right )}{a^{4} x^{2}}\) | \(379\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 131, normalized size = 1.05 \begin {gather*} \frac {6 \, b^{3} c^{\frac {3}{n}} x^{3} \log \left (x\right ) + 3 \, a^{2} b c^{\left (\frac {1}{n}\right )} x - a^{3} + 6 \, {\left (a b^{2} x^{2} \log \left (x\right ) + a b^{2} x^{2}\right )} c^{\frac {2}{n}} - 6 \, {\left (b^{3} c^{\frac {3}{n}} x^{3} + a b^{2} c^{\frac {2}{n}} x^{2}\right )} \log \left (b c^{\left (\frac {1}{n}\right )} x + a\right )}{2 \, {\left (a^{4} b c^{\left (\frac {1}{n}\right )} x^{3} + a^{5} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{3} \left (a + b \left (c x^{n}\right )^{\frac {1}{n}}\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x^3\,{\left (a+b\,{\left (c\,x^n\right )}^{1/n}\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________